package com.ruoyi.oos.self.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 超限记录对象 oos_overrun_record_self
 * 
 * @author wzy1
 * @date 2020-07-06
 */
public class OverrunRecordSelf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 测点分组id */
    @Excel(name = "测点分组id")
    private Long groupid;

    /** 测点分组名称 */
    @Excel(name = "测点分组名称")
    private String groupname;

    /** 测点id */
    @Excel(name = "测点id")
    private Long tagid;

    /** 测点名称 */
    @Excel(name = "测点名称")
    private String tagname;

    /** 轮值班组标识 */
    @Excel(name = "轮值班组标识")
    private Long identify;

    /** 轮值班组 */
    @Excel(name = "轮值班组")
    private String teamname;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 超限时长(分) */
    @Excel(name = "超限时长(分)")
    private Long times;

    /** 限值 */
    @Excel(name = "限值")
    private Float limitval;

    /** 超限程度 */
    @Excel(name = "超限程度")
    private String level;

    /** 关联测点 */
    @Excel(name = "关联测点")
    private String pitag;

    /** 关联测点值 */
    @Excel(name = "关联测点值")
    private String pitagval;

    /** 计算类型 */
    @Excel(name = "计算类型")
    private String calctype;

    /** 限值类型 */
    @Excel(name = "限值类型")
    private String limittype;

    /** 数据类型1：超上限2：超下限 */
    @Excel(name = "数据类型1：超上限2：超下限")
    private String datatype;

    /** 轮值规则id */
    @Excel(name = "轮值规则id")
    private Long dutyid;

    /** PI测点名称 */
    @Excel(name = "PI测点名称")
    private String pitagname;

    /** 极值 */
    @Excel(name = "极值")
    private Long extremum;

    /** 极值时间 */
    @Excel(name = "极值时间")
    private String extremumtime;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userid;
    
    public String startDate;
    
    public String endDate;
    
    

        public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
        public void setGroupid(Long groupid)
    {
        this.groupid = groupid;
    }

    public Long getGroupid() 
    {
        return groupid;
    }
        public void setGroupname(String groupname)
    {
        this.groupname = groupname;
    }

    public String getGroupname() 
    {
        return groupname;
    }
        public void setTagid(Long tagid)
    {
        this.tagid = tagid;
    }

    public Long getTagid() 
    {
        return tagid;
    }
        public void setTagname(String tagname)
    {
        this.tagname = tagname;
    }

    public String getTagname() 
    {
        return tagname;
    }
        public void setIdentify(Long identify)
    {
        this.identify = identify;
    }

    public Long getIdentify() 
    {
        return identify;
    }
        public void setTeamname(String teamname)
    {
        this.teamname = teamname;
    }

    public String getTeamname() 
    {
        return teamname;
    }
        public void setStarttime(Date starttime)
    {
        this.starttime = starttime;
    }

    public Date getStarttime() 
    {
        return starttime;
    }
        public void setEndtime(Date endtime)
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
        public void setTimes(Long times)
    {
        this.times = times;
    }

    public Long getTimes() 
    {
        return times;
    }
        public void setLimitval(Float limitval)
    {
        this.limitval = limitval;
    }

    public Float getLimitval() 
    {
        return limitval;
    }
        public void setLevel(String level)
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
        public void setPitag(String pitag)
    {
        this.pitag = pitag;
    }

    public String getPitag() 
    {
        return pitag;
    }
        public void setPitagval(String pitagval)
    {
        this.pitagval = pitagval;
    }

    public String getPitagval() 
    {
        return pitagval;
    }
        public void setCalctype(String calctype)
    {
        this.calctype = calctype;
    }

    public String getCalctype() 
    {
        return calctype;
    }
        public void setLimittype(String limittype)
    {
        this.limittype = limittype;
    }

    public String getLimittype() 
    {
        return limittype;
    }
        public void setDatatype(String datatype)
    {
        this.datatype = datatype;
    }

    public String getDatatype() 
    {
        return datatype;
    }
        public void setDutyid(Long dutyid)
    {
        this.dutyid = dutyid;
    }

    public Long getDutyid() 
    {
        return dutyid;
    }
        public void setPitagname(String pitagname)
    {
        this.pitagname = pitagname;
    }

    public String getPitagname() 
    {
        return pitagname;
    }
        public void setExtremum(Long extremum)
    {
        this.extremum = extremum;
    }

    public Long getExtremum() 
    {
        return extremum;
    }
        public void setExtremumtime(String extremumtime)
    {
        this.extremumtime = extremumtime;
    }

    public String getExtremumtime() 
    {
        return extremumtime;
    }
        public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        
        .append("id", getId())
        
        .append("groupid", getGroupid())
        
        .append("groupname", getGroupname())
        
        .append("tagid", getTagid())
        
        .append("tagname", getTagname())
        
        .append("identify", getIdentify())
        
        .append("teamname", getTeamname())
        
        .append("starttime", getStarttime())
        
        .append("endtime", getEndtime())
        
        .append("times", getTimes())
        
        .append("limitval", getLimitval())
        
        .append("level", getLevel())
        
        .append("pitag", getPitag())
        
        .append("pitagval", getPitagval())
        
        .append("calctype", getCalctype())
        
        .append("limittype", getLimittype())
        
        .append("datatype", getDatatype())
        
        .append("dutyid", getDutyid())
        
        .append("pitagname", getPitagname())
        
        .append("extremum", getExtremum())
        
        .append("extremumtime", getExtremumtime())
        
        .append("userid", getUserid())
            .toString();
    }

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
    
    
}
